package com.kingdee.eas.lms.base.depbase;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class Dep4Factory
{
    private Dep4Factory()
    {
    }
    public static com.kingdee.eas.lms.base.depbase.IDep4 getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep4)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("2741509C") ,com.kingdee.eas.lms.base.depbase.IDep4.class);
    }
    
    public static com.kingdee.eas.lms.base.depbase.IDep4 getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep4)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("2741509C") ,com.kingdee.eas.lms.base.depbase.IDep4.class, objectCtx);
    }
    public static com.kingdee.eas.lms.base.depbase.IDep4 getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep4)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("2741509C"));
    }
    public static com.kingdee.eas.lms.base.depbase.IDep4 getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep4)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("2741509C"));
    }
}